package com.AdvancedDemos.动态代理;

public class BigStar implements Star {

    private String name;

    @Override
    public String sing(String songName) {
        System.out.println("啦啦啦");
        return this.name + "唱了一首" + songName;
    }

    @Override
    public void dance() {
        System.out.println(this.name + "正在优美的跳舞...");
    }

    public BigStar(String name) {
        this.name = name;
    }

//    public String getName() {
//        return name;
//    }
//    public void setName(String name) {
//        this.name = name;
//    }
}
